package com.rememberme;

import android.os.Bundle;
import android.support.v4.app.FragmentActivity;

public class InvokedToAlarm extends FragmentActivity {
	@Override
	protected void onCreate (Bundle savedInstaceState){
		super.onCreate(savedInstaceState);
		AlarmDialog alarmDialog = new AlarmDialog();
		Bundle args = new Bundle();
		args.putString("ico", getIntent().getStringExtra("ico"));
		args.putString("title", getIntent().getStringExtra("title"));
		args.putString("content", getIntent().getStringExtra("content"));
		args.putString("alarm", getIntent().getStringExtra("alarm"));
		args.putString("tone", getIntent().getStringExtra("tone"));
		alarmDialog.setArguments(args);
		alarmDialog.show(getSupportFragmentManager(), "Alarm");
	}
}
